package com.interview02;

/**
 * Copyright (C), 2018-2020
 * FileName: Student
 * Author:   kongfanyu
 * Date:     2020/12/16 11:32
 */
public class Student {
    private int id;
    private String name;

    public Student(){
        System.out.println("创建学生对象.....");
    }

    public void sayHello(){
        System.out.println("hello 古力娜扎.....");
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
